package com.dks.mapper;

import java.util.*;
import com.dks.models.AliyunSendSmsLogs;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface AliyunSendSmsLogsMapper{

    Integer insert(AliyunSendSmsLogs aliyunSendSmsLogs);

    Integer update(AliyunSendSmsLogs aliyunSendSmsLogs);

    Integer delete(@Param("id") Integer id);

    AliyunSendSmsLogs select(@Param("id") Integer id);

    Integer cntByMap(Map<String, Object> map);

    List<Integer> getByMap(Map<String, Object> map);

    List<AliyunSendSmsLogs> getByMapList(Map<String, Object> map);

    Integer updateByCode(AliyunSendSmsLogs aliyunSendSmsLogs);

    AliyunSendSmsLogs selectByBfCode(@Param("bfCode") String bfCode);
}
